/**
 * 
 */
package edu.caltech.android;

import android.app.Application;
import android.content.Context;

/**
 * @author mfaulk
 *
 */
public class ShakeAlertApplication extends Application {
	
	public static final String PREFERENCE = "ShakeAlert_Preferences";
	public static final String PREF_CLIENT_ID_KEY = "preference_ID_key";
	public static final String PREF_CLIENT_NAME_KEY = "preference_name_key";
	
	private static ShakeAlertApplication instance;
	
	// similar to:
	// http://stackoverflow.com/questions/987072/using-application-context-everywhere
	public void onCreate(){
		instance = this;
	}
	
	public static Context getContext(){
		return instance;
	}
	
}
